package com.bridge.common.consts;


/**
 * 全局变量
 */

public final class Const {

    public final static String VERIFY_SESSION = "RANDOMVALIDATECODEKEY";
    public final static String ADMIN_SESSION = "admin_session";

    public static final String[] IMG_TYPE = new String[]{"jpg", "png", "gif", "jpeg"};

    public final static String PAGINATE_DATA_KEY = "list";//分页时返回数据的Key
    public final static String PAGINATE_PAGE_KEY = "page";//分页时返回分页的Key


    public final static String UPLOAD_PATH = "/upload";

    public final static int TRY_MAX_COUNT = 5;


    //public final static String UPLOAD_URL="http://192.168.1.120:8085";
    public final static String UPLOAD_URL = "http://fashionupload.facexxxx.cn";
    public final static String SMS_TOKEN = "smstoken";
    public final  static  String CIPHER="cipher";



    public final static String immediateQueue="indentOutTimeQueue";
    public final static String immediateExchange="indentOutTimeExchange";
    public final static String immediateRoutingKey="indentOutTimeRoutingKey";
    public final static String immediateDelayRoutingKey="indentOutTimeDelayRoutingKey";
    public final static String immediateDelayQueue="indentOutTimeDelayQueue";
    public final static String immediateDeadLetterExchange="indentOutTimeDeadLetterExchange";

    public final static String EMPLOYEE_PREFIX="JMMJ";
    /**
     * 工作日
     */
    public final static String WEEK_DAY="[{\"status\": 1, \"dayWeek\": 1, \"dayWeekFront\": \"周一\"}, {\"status\": 1, \"dayWeek\": 2, \"dayWeekFront\": \"周二\"}, {\"status\": 1, \"dayWeek\": 3, \"dayWeekFront\": \"周三\"}, {\"status\": 1, \"dayWeek\": 4, \"dayWeekFront\": \"周四\"}, {\"status\": 1, \"dayWeek\": 5, \"dayWeekFront\": \"周五\"}, {\"status\": 1, \"dayWeek\": 6, \"dayWeekFront\": \"周六\"}, {\"status\": 1, \"dayWeek\": 7, \"dayWeekFront\": \"周日\"}]";


    /**
     * 距离
     */
    public final static String DISTANCE = "distance";

    public final static String MANAGER = "manager";

    public final static String STORE = "store";

    public final static String BUSINESS_LOGIN_PREFIX = "app_login_";

    public final static String BUSINESS_LOGOUT = "app_logout";

    public final static String EMPLOYEE_LOGIN_PREFIX = "employee_login_";

    public final static String EMPLOYEE_LOGOUT = "employee_logout";

    public final static String SHARE_ID_PREFIX = "share_";

    public final static String REFRESH_PREFIX = "refresh_";

    public final static String CARD_LOCK_PREFIX = "card_";

    public final static String CARD_LOGISTICS_PREFIX = "logistics_";


    //    技工服务两户用户之间的时间间隔
    public final static int BEFORE_INTERVAL_TIME = -60 * 60 / 2;
    public final static int AFTER_INTERVAL_TIME = 60 * 60 / 2;
}
